package com.hjs.design.principle.openclose;

/**
 * @auther 韩劲松
 * @school 西安邮电大学
 * @create 2018-12-28 23:08
 */
public class Test {
    public static void main(String[] args) {
        JavaDiscountCourse java = new JavaDiscountCourse(1, "Java", 288.8);
        System.out.println(java.getId()+" "+java.getName()+" "+java.getPrice()+" "+java.getOriginPrice());
    }
}
